<template>
  <view class="indexPage">
    <view @click="backPage">toRedirectToPageMixin</view>
    <view @click="backPageTwo">直接跳转2层</view>
  </view>
</template>
<script>
  //import plateInput from '@/components/uni-plate-input/uni-plate-input.vue';
  export default {
    components: {
      //plateInput
    },
    data() {
      return {
        //hasUserInfo: false,
      };
    },
    onLoad() {//默认加载
      console.log("this.paramsMixin",this.paramsMixin)
      // this.showMethods();
    },
    onShow(){
      //this.showMethods();
    },
    methods: {
      backPage(){
        let data = {licenseNo: 11,name:"kuanghua" }
        this.toRedirectToPageMixin("/pages/navigateOne/navigateOne", data)
      },
      backPageTwo(){
        let data = {licenseNo: 11,name:"kuanghua" }
        this.toNavigateBackMixin(2)
      },
      showMethods(){
        console.log("navigateOne");
      }
    }
  }
</script>

<style lang="scss">
  .indexPage {

  }
</style>
